/*
 * Test code for FindInconsistentSync detector
 * 
 * Written by David Hovemeyer
 * This code is in the public domain
 */
package net.findbugs.demo.testcode;

public class TestISYNC {
	Object field;
	Object lock = new Object();

	void set(Object value) {
		synchronized (lock) {
			field = value;
		}
	}
	
	Object get() {
		return field;
	}
}
